package com.zznj.xzjc.net.entity;

import android.os.Parcel;
import android.os.Parcelable;

import com.luck.picture.lib.entity.LocalMedia;

import java.util.List;

/**
 * 描述：添加类的描述
 *
 * @author wx5e48d604c2885118
 * @time 2020/4/7
 */
public class DTBean implements Parcelable {
    private List<String> imgs;
    private List<LocalMedia> mediaList;

    protected DTBean(Parcel in) {
        imgs = in.createStringArrayList();
        mediaList = in.createTypedArrayList(LocalMedia.CREATOR);
        headPic = in.readString();
        zanNum = in.readInt();
        yestodayZanNum = in.readInt();
        readNum = in.readInt();
        city = in.readString();
        addDate = in.readString();
        sfxh = in.readInt();
        picList = in.readString();
        videoPath = in.readString();
        plNum = in.readString();
        sex = in.readString();
        gzNum = in.readString();
        memberName = in.readString();
        id = in.readString();
        sfdz = in.readInt();
        sfgz = in.readInt();
        sfdc = in.readInt();
        age = in.readString();
        content = in.readString();
        memberId = in.readString();
        memberLevel = in.readString();
        superVip = in.readString();
        width = in.readInt();
        height = in.readInt();
        status = in.readInt();
    }

    public static final Creator<DTBean> CREATOR = new Creator<DTBean>() {
        @Override
        public DTBean createFromParcel(Parcel in) {
            return new DTBean(in);
        }

        @Override
        public DTBean[] newArray(int size) {
            return new DTBean[size];
        }
    };

    public List<LocalMedia> getMediaList() {
        return mediaList;
    }

    public void setMediaList(List<LocalMedia> mediaList) {
        this.mediaList = mediaList;
    }

    public List<String> getImgs() {
        return imgs;
    }

    public void setImgs(List<String> imgs) {
        this.imgs = imgs;
    }

    /**
     * zanNum : 0
     * sfxh : 0
     * picList : https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=4209505017,3194539917&fm=26&gp=0.jpg,https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=4209505017,3194539917&fm=26&gp=0.jpg,https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=4209505017,3194539917&fm=26&gp=0.jpg
     * plNum : 0
     * sex : 男
     * gzNum : 0
     * memberName : 测试二号
     * id : 936981d60eab426fbc54767da60c2927
     * sfdz : 0
     * age : 19
     * content : 测试动态哦
     * memberId : 0762eb20d28a47eb85d483244e393970
     */
    private String headPic;
    private int zanNum;
    private int yestodayZanNum;
    private int sfxh;
    private int readNum;
    private String city;
    private String addDate;
    private String picList;
    private String videoPath;
    private String plNum;
    private String sex;
    private String gzNum;
    private String memberName;
    private String id;
    private int sfdz;
    private int sfgz;
    private int sfdc;
    private String age;
    private String content;
    private String memberId;
    private String memberLevel;
    private String superVip;
    private int width;
    private int height;
    private int status;

    public String getVideoPath() {
        return videoPath;
    }

    public void setVideoPath(String videoPath) {
        this.videoPath = videoPath;
    }

    public String getHeadPic() {
        return headPic;
    }

    public void setHeadPic(String headPic) {
        this.headPic = headPic;
    }

    public int getZanNum() {
        return zanNum;
    }

    public void setZanNum(int zanNum) {
        this.zanNum = zanNum;
    }

    public int getYestodayZanNum() {
        return yestodayZanNum;
    }

    public void setYestodayZanNum(int yestodayZanNum) {
        this.yestodayZanNum = yestodayZanNum;
    }

    public int getSfxh() {
        return sfxh;
    }

    public void setSfxh(int sfxh) {
        this.sfxh = sfxh;
    }

    public String getPicList() {
        return picList;
    }

    public void setPicList(String picList) {
        this.picList = picList;
    }

    public String getPlNum() {
        return plNum;
    }

    public void setPlNum(String plNum) {
        this.plNum = plNum;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getGzNum() {
        return gzNum;
    }

    public void setGzNum(String gzNum) {
        this.gzNum = gzNum;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getSfdz() {
        return sfdz;
    }

    public void setSfdz(int sfdz) {
        this.sfdz = sfdz;
    }

    public int getSfgz() {
        return sfgz;
    }

    public void setSfgz(int sfgz) {
        this.sfgz = sfgz;
    }

    public int getSfdc() {
        return sfdc;
    }

    public void setSfdc(int sfdc) {
        this.sfdc = sfdc;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public int getReadNum() {
        return readNum;
    }

    public void setReadNum(int readNum) {
        this.readNum = readNum;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getAddDate() {
        return addDate;
    }

    public void setAddDate(String addDate) {
        this.addDate = addDate;
    }

    public String getMemberLevel() {
        return memberLevel;
    }

    public void setMemberLevel(String memberLevel) {
        this.memberLevel = memberLevel;
    }

    public String getSuperVip() {
        return superVip;
    }

    public void setSuperVip(String superVip) {
        this.superVip = superVip;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeStringList(imgs);
        parcel.writeTypedList(mediaList);
        parcel.writeString(headPic);
        parcel.writeInt(zanNum);
        parcel.writeInt(yestodayZanNum);
        parcel.writeInt(readNum);
        parcel.writeString(city);
        parcel.writeString(addDate);
        parcel.writeInt(sfxh);
        parcel.writeString(picList);
        parcel.writeString(videoPath);
        parcel.writeString(plNum);
        parcel.writeString(sex);
        parcel.writeString(gzNum);
        parcel.writeString(memberName);
        parcel.writeString(id);
        parcel.writeInt(sfdz);
        parcel.writeInt(sfgz);
        parcel.writeInt(sfdc);
        parcel.writeString(age);
        parcel.writeString(content);
        parcel.writeString(memberId);
        parcel.writeString(memberLevel);
        parcel.writeString(superVip);
        parcel.writeInt(width);
        parcel.writeInt(height);
        parcel.writeInt(status);
    }
}
